package top.vanchor.flexible.config.consts;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author : Ding
 * @create 2022/8/9 16:28
 */
@Component
@ConfigurationProperties(prefix = "jwt.expire")
public class JwtConst {

    @Value("${jwt.expire}")
    public void setFileHost(Long expire) {
        JwtConst.EXPIRE = expire;
    }

    /**
     * 过期时间
     */
    public static Long EXPIRE;
}
